### Name: color.gradient
### Title: Calculate an arbitrary sequence of colors.
### Aliases: color.gradient
### Keywords: misc

### ** Examples

 # try it with red and blue endpoints and green midpoints.
 color.gradient(c(0,1),c(1,0.6,0.4,0.3,0),c(0.1,0.6))



